package com.easypan.entity.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author VectorX
 * @version V1.0
 * @description
 * @date 2024-07-20 11:44:28
 */
// 序列化忽略未知属性
@JsonIgnoreProperties(ignoreUnknown = true)
@Getter
@Setter
// 防止反序列化时报错
@NoArgsConstructor
// 防止@Builder报错
@AllArgsConstructor
@Builder
public class SessionWebUserDto
{
    private String userId;
    private String nickName;
    private Boolean isAdmin;
    private String avatar;
}
